package com.hhs.storage.dao;

import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.TopicMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhs
 * @since 2023-03-01
 */
public interface TopicMessageDao extends BaseMapper<TopicMessage> {
    public List<TopicMessage> getMessageGroupList(@Param("userId") String userId, @Param("page") InputParam param);
    public Long getMessageGroupTotal(@Param("userId") String userId);
}
